Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sc5: move CLI docs to secure connections section #2701

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Choraden
Copy link
Contributor

@Choraden Choraden commented Mar 26, 2024

Description

Currently there are two places where you can find SC5 docs.

  1. Secure connections section /secure-connections/sauce-connect-5/...
    it contains: overview, installation doc, configuration, etc..
  2. CLI /dev/cli/sauce-connect-5/...
    commands: sc, sc run, sc legacy...

This patch moves SC5 CLI docs to secure connections section.
The SC5 CLI section will remain as a reference and point to new cli directory.

This patch is a foundation to auto generated SC5 CLI docs.

Motivation and Context

  • centralized information/unified structure:
    Users often look for all relevant documentation in one place.
    Having CLI docs next to other related docs reduces the need to navigate through different sections of the site,
    providing a smoother and more intuitive user experience.

  • consistent context/cross-referencing ease:
    Keeping related documents together helps maintain context for the user,
    as they can browse quickly through the sidebar.

  • discoverability:
    Users might not always know what they are looking for.
    By having CLI docs in the same location as other SC content,
    you increase the chances of users discovering useful commands and features they weren't initially aware of.

  • SEO benefits:
    From a web presence perspective, having a consolidated section with comprehensive coverage of a topic can improve search engine visibility.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation fix (typos, incorrect content, missing content, etc.)

@Choraden Choraden requested a review from a team as a code owner March 26, 2024 13:19
@mmatczuk
Copy link
Contributor

This totally makes sense but we also need redirects configured at this point.

@Choraden
Copy link
Contributor Author

This totally makes sense but we also need redirects configured at this point.

sauce-docs/dev/cli/sauce-connect-5/ redirects to secure-connections...

Should've included that in pr comment.

Copy link

Deploy preview ready for 2701!
https://docs.dev.saucelabs.net
built from d94b0bd

docs/dev/cli.md Outdated
@@ -17,7 +17,7 @@ hide_table_of_contents: true
<div>
<div className="box boxwidetop card">
<div className="container">
<a href="/dev/cli/sauce-connect-5/run"><h3>Sauce Connect Proxy 5 CLI </h3></a>
<a href="/secure-connections/sauce-connect-5/cli/run"><h3>Sauce Connect Proxy 5 CLI </h3></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not the right place for the question but why?

why do you need to move CLI docs from /dev/cli/ ??

My problem with this is that other CLI tools are in /dev/cli/ and sauce connect shouldn't be special (unless there is some serious reason for that).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having cli with all the other docs has several advantages. As a user I would like to have everything at one place, that I can quickly find at the sidebar. At this moment SC5 docs and SC5 CLI come across as a separate documents. They lack connection IMO.
Generally, I would like to achieve a sidebar similar to what we have here: https://forwarder-proxy.io.

The reference to SC5 CLI will stay at /dev/cli/, so this would satisfy our convention.

Copy link

github-actions bot commented Apr 4, 2024

Deploy preview ready for 2701!
https://docs.dev.saucelabs.net
built from 83a6ee0

@Choraden Choraden changed the title sc5: add config, metrics and move CLI sc5: move CLI docs to secure connections section Apr 8, 2024
Copy link

github-actions bot commented Apr 8, 2024

Deploy preview ready for 2701!
https://docs.dev.saucelabs.net
built from 8ff65f6

Copy link

github-actions bot commented Apr 8, 2024

Deploy preview ready for 2701!
https://docs.dev.saucelabs.net
built from d92efbe

This patch is a foundation to auto generated SC5 CLI docs.

This moves all sc5 docs to one place. It has several advantages:

- centralized information/unified structure:
	Users often look for all relevant documentation in one place.
	Having CLI docs next to other related docs reduces the need to navigate through different sections of the site,
	providing a smoother and more intuitive user experience.

- consistent context/cross-referencing ease:
	Keeping related documents together helps maintain context for the user,
	as they can browse quickly through the sidebar.

- discoverability:
	Users might not always know what they are looking for.
	By having CLI docs in the same location as other SC content,
	you increase the chances of users discovering useful commands and features they weren't initially aware of.

- SEO benefits:
	From a web presence perspective, having a consolidated section with comprehensive coverage of a topic can improve search engine visibility.

The SC5 CLI section will remain and point to new cli directory.
Copy link

github-actions bot commented Apr 8, 2024

Deploy preview ready for 2701!
https://docs.dev.saucelabs.net
built from be521e7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants